GET States?assetId={assetId}&take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves states for the given parameters. All parameters are optional.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetId |
Id of the asset |
globally unique identifier |
None. |
take |
Number of states to retrieve. Default is all states |
integer |
None. |
skip |
Number of states to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the states before retrieval |
Collection of Sort |
None. |
Operator | string |
None. |
|
Field | string |
None. |
|
Value | string |
None. |
|
Logic | string |
None. |
|
Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of states.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of State |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "StateId": "b5cc409a-25bf-4e19-be2c-960aecef1790", "Asset": { "AssetId": "8bac2420-0515-47ec-abae-b0fa8f3e2201", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a27a84f3-0898-44e6-bca1-4444cc44535d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14237b09-1cc0-4a81-9b8e-95a308a8d22a", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6c0d1f69-f462-405c-a9b4-756a41e81add", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "MeasurementValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5b6d5587-64ea-482b-906a-5d4242c6b920", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "2aa0c98e-846c-4bab-b7c9-abfa15a1b6cb", "EffectiveDate": "2024-05-06T15:26:05.5257169-07:00", "StatusType": { "StatusTypeId": "c71c2d2a-e800-4e00-a093-89a870ab27d1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a27a84f3-0898-44e6-bca1-4444cc44535d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14237b09-1cc0-4a81-9b8e-95a308a8d22a", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a2741649-1807-4eef-ae6b-a44449ead503", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a1b24ad7-f3ff-4580-8c23-be12cec49a88", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4af9253d-c649-4444-8cf2-e259b5ed52b9", "EffectiveDate": "2024-05-06T15:26:05.5257169-07:00", "WellPurposeType": { "WellPurposeTypeId": "488c0a96-ba0a-4abe-834d-7fea612a67d5", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d2d4d1d5-3ec0-480a-9585-794b156059f8", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "57358914-cf57-492b-8a9f-0990cabe222d", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "MeasurementValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "236ee3b0-2b51-424a-8550-8efc34e716c9", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-05-06T15:26:05.5257169-07:00", "StateType": { "StateTypeId": "a8b56be4-77b8-43b7-8318-e13af5192015", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a27a84f3-0898-44e6-bca1-4444cc44535d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14237b09-1cc0-4a81-9b8e-95a308a8d22a", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7de9f274-0147-47a1-a8fb-2e55d7668d15", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1adb85d8-37f6-417a-b8c4-1a8397abd2c2", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 4" }, { "StateId": "b5cc409a-25bf-4e19-be2c-960aecef1790", "Asset": { "AssetId": "8bac2420-0515-47ec-abae-b0fa8f3e2201", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a27a84f3-0898-44e6-bca1-4444cc44535d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14237b09-1cc0-4a81-9b8e-95a308a8d22a", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6c0d1f69-f462-405c-a9b4-756a41e81add", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "MeasurementValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5b6d5587-64ea-482b-906a-5d4242c6b920", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "Status": { "StatusId": "2aa0c98e-846c-4bab-b7c9-abfa15a1b6cb", "EffectiveDate": "2024-05-06T15:26:05.5257169-07:00", "StatusType": { "StatusTypeId": "c71c2d2a-e800-4e00-a093-89a870ab27d1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a27a84f3-0898-44e6-bca1-4444cc44535d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14237b09-1cc0-4a81-9b8e-95a308a8d22a", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a2741649-1807-4eef-ae6b-a44449ead503", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a1b24ad7-f3ff-4580-8c23-be12cec49a88", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4af9253d-c649-4444-8cf2-e259b5ed52b9", "EffectiveDate": "2024-05-06T15:26:05.5257169-07:00", "WellPurposeType": { "WellPurposeTypeId": "488c0a96-ba0a-4abe-834d-7fea612a67d5", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d2d4d1d5-3ec0-480a-9585-794b156059f8", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "57358914-cf57-492b-8a9f-0990cabe222d", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "MeasurementValueNeededDate": "2024-05-06T15:26:05.5257169-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "236ee3b0-2b51-424a-8550-8efc34e716c9", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "EffectiveDate": "2024-05-06T15:26:05.5257169-07:00", "StateType": { "StateTypeId": "a8b56be4-77b8-43b7-8318-e13af5192015", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a27a84f3-0898-44e6-bca1-4444cc44535d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "14237b09-1cc0-4a81-9b8e-95a308a8d22a", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7de9f274-0147-47a1-a8fb-2e55d7668d15", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1adb85d8-37f6-417a-b8c4-1a8397abd2c2", "CreateDate": "2024-05-06T15:26:05.5257169-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-05-06T15:26:05.5257169-07:00", "LastModifiedUser": "sample string 4" } ], "Total": 1, "Message": "sample string 1" }